<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

require_once(dirname(dirname(__FILE__))."/functions.php");
restrictFile(basename(__FILE__));

switch ($tela):
    case 'login': 
        ?>    
        <div>
            <form class="userform" method="post" action="" >
                    <fieldset>
                    <legend>Login</legend>
                    <label for="email">E-mail:</label>
                    <input type="text" name="login_email" id="login_email" value="your email..." onclick="javascript:if (this.value=='your email...') this.value='';" onkeypress="javascript:if (this.value=='your email...') this.value='';" onblur="javascript:if (this.value=='') this.value='your email...';" /><br />
                    <label for="password">Password:</label>
                    <input type="text" name="login_password" id="login_password" value="your password..." onclick="javascript:if (this.value=='your password...') this.value='';" onkeypress="javascript:if (this.value=='your password...') this.value='';" onblur="javascript:if (this.value=='') this.value='your password...';" />
                    <input type="submit" name="logar"value="Login" href="#" id="buttonLogin" />
                    </fieldset>
                 
                 
            </form>
        </div>
        <?php
        break;
     case 'teste' :
         ?>
           <form>
           <fieldset>
              <legend>Dados Pessoais</legend>
              <label for="nome">Nome:</label> 
              <input type="text" name="nome" id="nome" /><br />
              <label for="telefone">Telefone:</label> 
              <input type="text" name="telefone" id="telefone" />
           </fieldset>
           <fieldset>
              <legend>Dados Profissionais</legend>
              <label for="empresa">Empresa:</label> 
              <input type="text" name="empresa" id="empresa" /><br />
              <label for="site">Site:</label> 
              <input type="text" name="site" id="site" />
           </fieldset>
           <input type="submit" value="enviar" class="botao" />
        </form>
        <?php
    default :
        echo '<p>Not found !!!</p>';
        break;
endswitch;
?>
